. 2020-10-01 06:10:54.035 --------------------------------------------------------------------------
. 2020-10-01 06:10:54.035 WinSCP Version 5.17.6 (Build 10516) (OS 10.0.14393 - Windows Server 2016 Standard)
. 2020-10-01 06:10:54.035 Configuration: C:\Session_Name.ini
. 2020-10-01 06:10:54.035 Log level: Normal
. 2020-10-01 06:10:54.035 Local account: Serviceaccount_name
. 2020-10-01 06:10:54.035 Working directory: C:\Program Files (x86)\WinSCP
. 2020-10-01 06:10:54.035 Process ID: 3876
. 2020-10-01 06:10:54.035 Command-line: "WinSCP.exe" /ini=C:\XXX.ini Session_Name /log=C:\FtpLog.txt /console /script=C:\FtpScript.txt
. 2020-10-01 06:10:54.035 Time zone: Current: GMT-4, Standard: GMT-5 (Eastern Standard Time), DST: GMT-4 (Eastern Daylight Time), DST Start: 3/8/2020, DST End: 11/1/2020
. 2020-10-01 06:10:54.035 Login time: Thursday, October 1, 2020 6:10:54 AM
. 2020-10-01 06:10:54.035 --------------------------------------------------------------------------
. 2020-10-01 06:10:54.035 Script: Retrospectively logging previous script records:
< 2020-10-01 06:10:54.035 Script: Opening session using command-line parameter in scripting is deprecated. Use 'open' command instead.
< 2020-10-01 06:10:54.035 Script: In scripting you should not rely on saved sites, use this command instead:
< 2020-10-01 06:10:54.035 Script: open sftp://user_name:***@host_name/ -hostkey="xxxx" -privatekey="C:\xxxx.ppk"
. 2020-10-01 06:10:54.035 --------------------------------------------------------------------------
. 2020-10-01 06:10:54.035 Session name: Session_Name (Site)
. 2020-10-01 06:10:54.035 Host name: host_name (Port: 22)
. 2020-10-01 06:10:54.035 User name: user_name (Password: Yes, Key file: Yes, Passphrase: No)
. 2020-10-01 06:10:54.035 Tunnel: No
. 2020-10-01 06:10:54.035 Transfer Protocol: SFTP (SCP)
. 2020-10-01 06:10:54.035 Ping type: Off, Ping interval: 30 sec; Timeout: 15 sec
. 2020-10-01 06:10:54.035 Disable Nagle: No
. 2020-10-01 06:10:54.035 Proxy: None
. 2020-10-01 06:10:54.035 Send buffer: 262144
. 2020-10-01 06:10:54.035 SSH protocol version: 2; Compression: No
. 2020-10-01 06:10:54.035 Bypass authentication: No
. 2020-10-01 06:10:54.035 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: Yes
. 2020-10-01 06:10:54.035 GSSAPI: Forwarding: No; Libs: gssapi32,sspi,custom; Custom: 
. 2020-10-01 06:10:54.035 Ciphers: aes,chacha20,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2020-10-01 06:10:54.035 KEX: ecdh,dh-gex-sha1,dh-group14-sha1,rsa,WARN,dh-group1-sha1
. 2020-10-01 06:10:54.035 SSH Bugs: Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto
. 2020-10-01 06:10:54.035 Simple channel: Yes
. 2020-10-01 06:10:54.035 Return code variable: Autodetect; Lookup user groups: Auto
. 2020-10-01 06:10:54.035 Shell: default
. 2020-10-01 06:10:54.035 EOL: LF, UTF: Auto
. 2020-10-01 06:10:54.035 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes; Follow directory symlinks: No
. 2020-10-01 06:10:54.035 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No; Exit code 1 is error: No
. 2020-10-01 06:10:54.035 SFTP Bugs: Auto,Auto
. 2020-10-01 06:10:54.035 SFTP Server: default
. 2020-10-01 06:10:54.035 Local directory: default, Remote directory: /, Update: Yes, Cache: Yes
. 2020-10-01 06:10:54.035 Cache directory changes: Yes, Permanent: Yes
. 2020-10-01 06:10:54.035 Recycle bin: Delete to: No, Overwritten to: No, Bin path: 
. 2020-10-01 06:10:54.035 DST mode: Unix
. 2020-10-01 06:10:54.035 --------------------------------------------------------------------------
. 2020-10-01 06:10:54.035 Looking up host "host_name" for SSH connection
. 2020-10-01 06:10:54.035 Connecting to host_name port 22
. 2020-10-01 06:10:54.051 We claim version: SSH-2.0-WinSCP_release_5.17.6
. 2020-10-01 06:10:54.051 Remote version: SSH-2.0-1.82_sshlib GlobalSCAPE
. 2020-10-01 06:10:54.051 Using SSH protocol version 2
. 2020-10-01 06:10:54.066 Have a known host key of type rsa2
. 2020-10-01 06:10:54.066 Doing Diffie-Hellman group exchange
. 2020-10-01 06:10:54.121 Doing Diffie-Hellman key exchange using 2048-bit modulus and hash SHA-1 with a server-supplied group
. 2020-10-01 06:10:54.371 Host key fingerprint is:
. 2020-10-01 06:10:54.371 xxxx
. 2020-10-01 06:10:54.371 Host key matches cached key
. 2020-10-01 06:10:54.371 Initialised AES-256 CBC (AES-NI accelerated) outbound encryption
. 2020-10-01 06:10:54.371 Initialised HMAC-SHA-1 outbound MAC algorithm
. 2020-10-01 06:10:54.371 Initialised AES-256 CBC (AES-NI accelerated) inbound encryption
. 2020-10-01 06:10:54.371 Initialised HMAC-SHA-1 inbound MAC algorithm
. 2020-10-01 06:10:54.371 Reading key file "C:\xxxx.ppk"
! 2020-10-01 06:10:54.371 Using username "user_name".
! 2020-10-01 06:10:54.387 EFT Server 6.2.18 Build 09.08.2010.3
. 2020-10-01 06:10:54.387 Server offered these authentication methods: publickey,password
. 2020-10-01 06:10:54.387 Offered public key
. 2020-10-01 06:10:54.402 Offer of public key accepted
! 2020-10-01 06:10:54.402 Authenticating with public key "xxxx"
. 2020-10-01 06:10:54.434 Sent public key signature
! 2020-10-01 06:10:54.434 Further authentication required
. 2020-10-01 06:10:54.434 Further authentication required
. 2020-10-01 06:10:54.434 Server offered these authentication methods: password
. 2020-10-01 06:10:54.434 Prompt (password, "SSH password", <no instructions>, "&Password: ")
. 2020-10-01 06:10:54.434 Using stored password.
. 2020-10-01 06:10:54.434 Sent password
. 2020-10-01 06:10:54.449 Access granted
. 2020-10-01 06:10:54.449 Opening main session channel
. 2020-10-01 06:10:54.449 Opened main channel
. 2020-10-01 06:10:54.465 Started a shell/command
. 2020-10-01 06:10:54.465 --------------------------------------------------------------------------
. 2020-10-01 06:10:54.465 Using SFTP protocol.
. 2020-10-01 06:10:54.465 Doing startup conversation with host.
> 2020-10-01 06:10:54.465 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2020-10-01 06:10:54.480 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2020-10-01 06:10:54.480 SFTP version 3 negotiated.
. 2020-10-01 06:10:54.480 We believe the server has signed timestamps bug
. 2020-10-01 06:10:54.480 We will use UTF-8 strings until server sends an invalid UTF-8 string as with SFTP version 3 and older UTF-8 strings are not mandatory
. 2020-10-01 06:10:54.480 Changing directory to "/".
. 2020-10-01 06:10:54.480 Getting real path for '/'
> 2020-10-01 06:10:54.480 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2020-10-01 06:10:54.480 Type: SSH_FXP_NAME, Size: 23, Number: 16
. 2020-10-01 06:10:54.480 Real path is '/'
. 2020-10-01 06:10:54.480 Trying to open directory "/".
> 2020-10-01 06:10:54.480 Type: SSH_FXP_LSTAT, Size: 10, Number: 263
< 2020-10-01 06:10:54.496 Type: SSH_FXP_ATTRS, Size: 21, Number: 263
. 2020-10-01 06:10:54.496 Getting current directory name.
. 2020-10-01 06:10:54.496 Startup conversation with host finished.
< 2020-10-01 06:10:54.496 Script: Active session: [1] Session_Name
> 2020-10-01 06:10:54.496 Script: option batch on
< 2020-10-01 06:10:54.496 Script: batch           on        
> 2020-10-01 06:10:54.496 Script: option confirm off
< 2020-10-01 06:10:54.496 Script: confirm         off       
> 2020-10-01 06:10:54.496 Script: put C:\\File_Name.txt
< 2020-10-01 06:10:54.496 Script: Using configured transfer settings different from factory defaults.
. 2020-10-01 06:10:54.496 Copying 1 files/directories to remote directory "/" - total size: 312,837
. 2020-10-01 06:10:54.496   PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask: 
. 2020-10-01 06:10:54.496   TM: M; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; EncryptNewFiles: Yes; ExcludeHiddenFiles: No; ExcludeEmptyDirectories: No; InclM: ; ResumeL: 0
. 2020-10-01 06:10:54.496   AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2020-10-01 06:10:54.496 Getting real path for '/'
> 2020-10-01 06:10:54.496 Type: SSH_FXP_REALPATH, Size: 10, Number: 528
< 2020-10-01 06:10:54.512 Type: SSH_FXP_NAME, Size: 23, Number: 528
. 2020-10-01 06:10:54.512 Real path is '/'
. 2020-10-01 06:10:54.512 File: 'C:\\xxxx.txt' [2020-10-01T10:10:53.738Z] [312837]
. 2020-10-01 06:10:54.527 Copying "C:\xxxx.txt" to remote directory started.
. 2020-10-01 06:10:54.527 Ascii transfer mode selected.
. 2020-10-01 06:10:54.527 Opening remote file.
> 2020-10-01 06:10:54.527 Type: SSH_FXP_OPEN, Size: 49, Number: 771
< 2020-10-01 06:10:54.527 Type: SSH_FXP_HANDLE, Size: 10, Number: 771
> 2020-10-01 06:10:54.527 Type: SSH_FXP_WRITE, Size: 32771, Number: 1286
. 2020-10-01 06:10:54.543 9 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2020-10-01 06:10:54.543 Type: SSH_FXP_CLOSE, Size: 10, Number: 3844
> 2020-10-01 06:10:54.543 Type: SSH_FXP_SETSTAT, Size: 45, Number: 1033
. 2020-10-01 06:10:59.080 Network error: Software caused connection abort
. 2020-10-01 06:10:59.080 Connection was lost, asking what to do.
. 2020-10-01 06:10:59.080 Asking user:
. 2020-10-01 06:10:59.080 Network error: Software caused connection abort ()
< 2020-10-01 06:10:59.080 Script: Network error: Software caused connection abort
< 2020-10-01 06:11:05.268 Script: Searching for host...
. 2020-10-01 06:11:05.268 Looking up host "host_name" for SSH connection
. 2020-10-01 06:11:05.268 Connecting to host_name port 22
< 2020-10-01 06:11:05.268 Script: Connecting to host...
. 2020-10-01 06:11:05.268 We claim version: SSH-2.0-WinSCP_release_5.17.6
. 2020-10-01 06:11:05.284 Remote version: SSH-2.0-1.82_sshlib GlobalSCAPE
. 2020-10-01 06:11:05.284 Using SSH protocol version 2
. 2020-10-01 06:11:05.284 Have a known host key of type rsa2
. 2020-10-01 06:11:05.284 Doing Diffie-Hellman group exchange
. 2020-10-01 06:11:05.364 Doing Diffie-Hellman key exchange using 2048-bit modulus and hash SHA-1 with a server-supplied group
. 2020-10-01 06:11:05.598 Host key fingerprint is:
. 2020-10-01 06:11:05.598 xxxx
< 2020-10-01 06:11:05.598 Script: Authenticating...
. 2020-10-01 06:11:05.598 Host key matches cached key
. 2020-10-01 06:11:05.598 Initialised AES-256 CBC (AES-NI accelerated) outbound encryption
. 2020-10-01 06:11:05.598 Initialised HMAC-SHA-1 outbound MAC algorithm
. 2020-10-01 06:11:05.598 Initialised AES-256 CBC (AES-NI accelerated) inbound encryption
. 2020-10-01 06:11:05.598 Initialised HMAC-SHA-1 inbound MAC algorithm
. 2020-10-01 06:11:05.614 Reading key file "C:\xxxx.ppk"
! 2020-10-01 06:11:05.614 Using username "user_name".
< 2020-10-01 06:11:05.614 Script: Using username "user_name".
! 2020-10-01 06:11:05.614 EFT Server 6.2.18 Build 09.08.2010.3
. 2020-10-01 06:11:05.614 Server offered these authentication methods: publickey,password
. 2020-10-01 06:11:05.614 Offered public key
. 2020-10-01 06:11:05.629 Offer of public key accepted
! 2020-10-01 06:11:05.629 Authenticating with public key "xxxx"
< 2020-10-01 06:11:05.629 Script: Authenticating with public key "xxxx".
. 2020-10-01 06:11:05.660 Sent public key signature
! 2020-10-01 06:11:05.660 Further authentication required
< 2020-10-01 06:11:05.660 Script: Further authentication required
. 2020-10-01 06:11:05.660 Further authentication required
. 2020-10-01 06:11:05.660 Server offered these authentication methods: password
. 2020-10-01 06:11:05.660 Prompt (password, "SSH password", <no instructions>, "&Password: ")
. 2020-10-01 06:11:05.660 Using stored password.
< 2020-10-01 06:11:05.660 Script: Authenticating with pre-entered password.
. 2020-10-01 06:11:05.660 Sent password
. 2020-10-01 06:11:05.676 Access granted
. 2020-10-01 06:11:05.676 Opening main session channel
. 2020-10-01 06:11:05.692 Opened main channel
. 2020-10-01 06:11:05.692 Started a shell/command
< 2020-10-01 06:11:05.692 Script: Authenticated.
. 2020-10-01 06:11:05.692 Doing startup conversation with host.
< 2020-10-01 06:11:05.692 Script: Starting the session...
> 2020-10-01 06:11:05.692 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2020-10-01 06:11:05.707 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2020-10-01 06:11:05.707 SFTP version 3 negotiated.
. 2020-10-01 06:11:05.707 We believe the server has signed timestamps bug
. 2020-10-01 06:11:05.707 We will use UTF-8 strings until server sends an invalid UTF-8 string as with SFTP version 3 and older UTF-8 strings are not mandatory
. 2020-10-01 06:11:05.707 Changing directory to "/".
. 2020-10-01 06:11:05.707 Getting real path for '/'
> 2020-10-01 06:11:05.707 Type: SSH_FXP_REALPATH, Size: 10, Number: 4112
< 2020-10-01 06:11:05.707 Type: SSH_FXP_NAME, Size: 23, Number: 4112
. 2020-10-01 06:11:05.707 Real path is '/'
. 2020-10-01 06:11:05.707 Trying to open directory "/".
> 2020-10-01 06:11:05.707 Type: SSH_FXP_LSTAT, Size: 10, Number: 4359
< 2020-10-01 06:11:05.723 Type: SSH_FXP_ATTRS, Size: 21, Number: 4359
. 2020-10-01 06:11:05.723 Getting current directory name.
. 2020-10-01 06:11:05.723 Startup conversation with host finished.
< 2020-10-01 06:11:05.723 Script: Session started.
. 2020-10-01 06:11:05.723 File: 'C:\\File_Name.txt' [2020-10-01T10:10:53.738Z] [312837]
. 2020-10-01 06:11:05.723 Copying "C:\\File_Name.txt" to remote directory started.
. 2020-10-01 06:11:05.723 Ascii transfer mode selected.
. 2020-10-01 06:11:05.723 Opening remote file.
> 2020-10-01 06:11:05.723 Type: SSH_FXP_OPEN, Size: 49, Number: 4611
< 2020-10-01 06:11:05.739 Type: SSH_FXP_STATUS, Size: 33, Number: 4611
< 2020-10-01 06:11:05.739 Status code: 2, Message: 4611, Server: File not found, Language: en 
> 2020-10-01 06:11:05.739 Type: SSH_FXP_LSTAT, Size: 33, Number: 4871
< 2020-10-01 06:11:05.739 Type: SSH_FXP_ATTRS, Size: 29, Number: 4871
* 2020-10-01 06:11:05.739 (ETerminal) No such file or directory.
* 2020-10-01 06:11:05.739 Error code: 2
* 2020-10-01 06:11:05.739 Error message from server (en): File not found
. 2020-10-01 06:11:05.739 Asking user:
. 2020-10-01 06:11:05.739 Cannot overwrite remote file '/File_Name.txt'.$$
. 2020-10-01 06:11:05.739  
. 2020-10-01 06:11:05.739 Press 'Delete' to delete the file and create new one instead of overwriting it.$$ ("No such file or directory.
. 2020-10-01 06:11:05.739 Error code: 2
. 2020-10-01 06:11:05.739 Error message from server (en): File not found")
< 2020-10-01 06:11:05.739 Script: Cannot overwrite remote file '/File_Name.txt'.
< 2020-10-01 06:11:05.739 Script: No such file or directory.
< 2020-10-01 06:11:05.739 Error code: 2
< 2020-10-01 06:11:05.739 Error message from server (en): File not found
* 2020-10-01 06:11:05.739 (ESkipFile) Cannot overwrite remote file '/File_Name.txt'.$$
* 2020-10-01 06:11:05.739  
* 2020-10-01 06:11:05.739 Press 'Delete' to delete the file and create new one instead of overwriting it.$$
* 2020-10-01 06:11:05.739 No such file or directory.
* 2020-10-01 06:11:05.739 Error code: 2
* 2020-10-01 06:11:05.739 Error message from server (en): File not found
. 2020-10-01 06:11:05.739 Copying finished: Transferred: 0, Elapsed: 0:00:11, CPS: 0/s
. 2020-10-01 06:11:05.739 Script: Failed
> 2020-10-01 06:11:05.739 Script: close
. 2020-10-01 06:11:05.739 Closing connection.
. 2020-10-01 06:11:05.739 Sending special code: 1
. 2020-10-01 06:11:05.754 Session sent command exit status 0
. 2020-10-01 06:11:05.754 Main session channel closed
. 2020-10-01 06:11:05.754 All channels closed
